//
//  PillowCommandTool.h
//  Lightthings
//
//  Created by 王岩 on 2025/1/10.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface PillowCommandTool : NSObject
SingletonH;

- (void)writeStormCommand:(PillowCommandEnum)type ToPeripheral:(CBPeripheral *)peripheral Value:(NSArray *)value reBack:(void (^)(NSString * _Nonnull))bacdata;


- (void)updateDateAndTimeCallBack:(void (^)(NSString * data))backBlock  RealTimeData:(BOOL)open1 StopSwith:(BOOL)open2 ToPeripheral:(CBPeripheral *)peripheral;

- (void)SynchronousDataCallBack:(void (^)(NSString * data))backBlock  ToPeripheral:(CBPeripheral *)peripheral;

- (void)SynchronousDataRespondValue:(NSArray *)value CallBack:(void (^)(NSString * data))backBlock  ToPeripheral:(CBPeripheral *)peripheral;



@end

NS_ASSUME_NONNULL_END
